package com.ruoyi.project.reportSystem.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 外勤打卡对象 waiqing_record
 * 
 * @author wangshuo
 * @date 2021-03-16
 */
public class WaiqingRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userid;

    /** 外勤签到人 */
    @Excel(name = "外勤签到人")
    private String chargeUsername;

    /** 当前位置 */
    @Excel(name = "当前位置")
    private String aaddress;

    /** 签到时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "签到时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String qiandaoTime;

    /** 备注 */
    @Excel(name = "备注")
    private String beizhu;

    private List<WaiqingRecordImage> wrimgList;//外勤关联的图片集合

    public List<WaiqingRecordImage> getWrimgList() {
        return wrimgList;
    }

    public void setWrimgList(List<WaiqingRecordImage> wrimgList) {
        this.wrimgList = wrimgList;
    }

    public String getQiandaoTime() {
        return qiandaoTime;
    }

    public void setQiandaoTime(String qiandaoTime) {
        this.qiandaoTime = qiandaoTime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserid(Long userid) 
    {
        this.userid = userid;
    }

    public Long getUserid() 
    {
        return userid;
    }
    public void setChargeUsername(String chargeUsername) 
    {
        this.chargeUsername = chargeUsername;
    }


    public String getChargeUsername() 
    {
        return chargeUsername;
    }
    public void setAaddress(String aaddress) 
    {
        this.aaddress = aaddress;
    }

    public String getAaddress() 
    {
        return aaddress;
    }

    public void setBeizhu(String beizhu) 
    {
        this.beizhu = beizhu;
    }

    public String getBeizhu() 
    {
        return beizhu;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userid", getUserid())
            .append("chargeUsername", getChargeUsername())
            .append("aaddress", getAaddress())
            .append("qiandaoTime", getQiandaoTime())
            .append("beizhu", getBeizhu())
            .toString();
    }
}
